package info.fqtech.springcloud.eurekaclient.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author YASSER   作者 E-mail:   450153554@qq.com
 * @date: 2018-12-06 14:38
 * @version: 1.0.0
 * @description: <文件描述>
 * @modified: <文件修改说明>
 */
@Slf4j
@RestController
public class HelloController {

    /**
     * @param name
     * @return
     */
    @RequestMapping("/sayHello")
    public String sayHello(String name) {
        log.info("sayHello：{}", name);
        return name + ", Hello";
    }

}
